package com.ruoyi.common.utils.swagger;

public class SwaggerExampleConstants {

    public static class KuJiaLeDesign {
        // 原有示例（施工图、方案基础信息、渲染图）保持不变...

        /**
         * 渲染图
         */
        public static final String DESIGN_BASIC = "{\n" +
                "  \"code\": 200,\n" +
                "  \"msg\": \"操作成功\",\n" +
                "  \"data\": {\n" +
                "    \"levels\": [-1, 1, 2],\n" +
                "    \"basicInfo\": {\n" +
                "      \"planId\": \"3FO4HYFKXBFJ\",\n" +
                "      \"designId\": \"3FO3461K81DC\",\n" +
                "      \"commName\": \"未知小区\",\n" +
                "      \"city\": \"浙江省 杭州市 上城区\",\n" +
                "      \"name\": \"多层方案测试\",\n" +
                "      \"created\": 1523268134000,\n" +
                "      \"modifiedTime\": 1523273099000,\n" +
                "      \"coverPic\": \"https://qhyxpicoss.kujiale.com/fpimgnew/2018/04/28/LLSCEIAKAEH6QAABAAAAAAY8.jpg\",\n" +
                "      \"srcArea\": 66.82243,\n" +
                "      \"area\": 53.457947,\n" +
                "      \"realArea\": 53.457947\n" +
                "    },\n" +
                "    \"levelInfos\": [\n" +
                "      {\n" +
                "        \"level\": 1,\n" +
                "        \"specName\": \"未定义\",\n" +
                "        \"srcArea\": 66.82243,\n" +
                "        \"area\": 53.457947,\n" +
                "        \"realArea\": 53.457947,\n" +
                "        \"planPic\": \"https://qhyxpicoss.kujiale.com/fpimgnew/2018/04/28/LLSBVTQKAEH6QAABAAAAAEA81145400_800x800.jpg\"\n" +
                "      }\n" +
                "    ]\n" +
                "  }\n" +
                "}";
        public static final String RENDERPIC_LIST = "{\n" +
                "  \"code\": 200,\n" +
                "  \"msg\": \"操作成功\",\n" +
                "  \"data\": {\n" +
                "    \"count\": 10, // 当前页返回数量\n" +
                "    \"result\": [ // 渲染图列表\n" +
                "      {\n" +
                "        \"picId\": \"3FO4K5M8YDHR\",\n" +
                "        \"picType\": 0,\n" +
                "        \"picDetailType\": 0,\n" +
                "        \"roomName\": \"客厅\",\n" +
                "        \"img\": \"http://qhyxpic.oss.kujiale.com/rbet/2015/03/24/NSHMYLE7TQWA5J3CEY888888_800x600.jpg\",\n" +
                "        \"created\": 1426830582000,\n" +
                "        \"level\": 1,\n" +
                "        \"roomIndex\": 987892,\n" +
                "        \"roomTypeId\": 22,\n" +
                "        \"hasPs\": false,\n" +
                "        \"lightStyleId\": 0,\n" +
                "        \"lightStyleName\": \"手动灯光\",\n" +
                "        \"favorite\": false\n" +
                "      }\n" +
                "    ],\n" +
                "    \"totalCount\": 25, // 总记录数\n" +
                "    \"hasMore\": true // 是否有更多数据（当前页是否为最后一页）\n" +
                "  }\n" +
                "}";


        public static final String DRAWING_DETAIL = "{\n" +
                "  \"code\": 200,\n" +
                "  \"msg\": \"查询发布图纸详情成功\",\n" +
                "  \"data\": {\n" +
                "    \"viewerId\": \"3FO4K7ANB7XX\",\n" +
                "    \"viewerDataUrl\": \"https://sit.kujiale.com/pub/bim/blueprint/index?viewerId=3FO4K7ANB7XX&source=link\",\n" +
                "    \"pics\": [\n" +
                "      {\n" +
                "        \"img\": \"//qhconstross.kujiale.com/share/jpg/2021/09/28/MEO7M2NMDSS7YAABAAAAAAA8_page-201.jpg\",\n" +
                "        \"imgSmall\": \"//qhconstross.kujiale.com/share/preview/2021/09/28/MEO7M2NMDSS7YAABAAAAAAA8_page-201.jpg\",\n" +
                "        \"pageKey\": \"page-201\",\n" +
                "        \"pageId\": 1106012,\n" +
                "        \"pageName\": \"墙体定位图\"\n" +
                "      }\n" +
                "    ],\n" +
                "    \"folders\": [\n" +
                "      {\n" +
                "        \"folderName\": \"装修图纸\",\n" +
                "        \"pageInfos\": [],\n" +
                "        \"subFolders\": [\n" +
                "          {\n" +
                "            \"folderName\": \"平面图纸\",\n" +
                "            \"pageInfos\": [\n" +
                "              {\n" +
                "                \"pageName\": \"墙体定位图\",\n" +
                "                \"pageKey\": \"page-201\",\n" +
                "                \"pageIndex\": {\n" +
                "                  \"pagePurposeName\": \"homeDecoration\",\n" +
                "                  \"pageTypeName\": \"planView\",\n" +
                "                  \"pageCategoryName\": \"architect\"\n" +
                "                }\n" +
                "              }\n" +
                "            ],\n" +
                "            \"subFolders\": []\n" +
                "          }\n" +
                "        ]\n" +
                "      }\n" +
                "    ]\n" +
                "  }\n" +
                "}";

        /**
         * 4. 获取全屋漫游列表 - 成功响应示例
         */
        public static final String ROAM_LIST_SUCCESS = "{\n" +
                "  \"code\": 200,\n" +
                "  \"msg\": \"查询全屋漫游列表成功\",\n" +
                "  \"data\": [\n" +
                "    {\n" +
                "      \"panoType\": 1,\n" +          // 1=3D漫游\n" +
                "      \"coverUrl\": \"https://qhrenderpicoss.kujiale.com/dev/2020/04/24/L3D340S21ENDIO7HVWFSGRI4KLUF3P3WM888.0_900x150.jpg\",\n" +
                "      \"roamUrl\": \"https://alpha.kujiale.com/cloud/design/3FO4IQQJS8K3/show\"\n" +  // 3D漫游访问地址\n" +
                "    },\n" +
                "    {\n" +
                "      \"panoType\": 3,\n" +          // 3=智能漫游\n" +
                "      \"coverUrl\": \"https://qhrenderpicoss.kujiale.com/dev/2020/04/24/L3D223S21ENDIO7HVWFSGRI4KLUF3P3WO888.0_3000x500.jpg\",\n" +
                "      \"roamUrl\": \"https://alpha.kujiale.com/cloud/design/3FO4IQQJS8K3/airoaming\"\n" +  // 智能漫游访问地址\n" +
                "    }\n" +
                "  ]\n" +
                "}";

        /**
         * 4. 获取全屋漫游列表 - 失败响应示例
         */
        public static final String ROAM_LIST_ERROR = "{\n" +
                "  \"code\": 500,\n" +
                "  \"msg\": \"查询全屋漫游列表失败：appuid不能为空\",\n" +
                "  \"data\": null\n" +
                "}";

        /**
         * 5. 获取用户方案列表 - 成功响应示例
         */
        public static final String USER_DESIGN_LIST_SUCCESS = "{\n" +
                "  \"code\": 200,\n" +
                "  \"msg\": \"查询用户方案列表成功\",\n" +
                "  \"data\": {\n" +
                "    \"count\": 2,\n" +          // 当前页数量\n" +
                "    \"hasMore\": true,\n" +   // 有更多数据\n" +
                "    \"totalCount\": 52,\n" +  // 总数量\n" +
                "    \"result\": [\n" +
                "      {\n" +
                "        \"planId\": \"3FO4K4VXY2IW\",\n" +
                "        \"status\": 0,\n" +   // 0=户型阶段\n" +
                "        \"commName\": \"金色蓝庭\",\n" +
                "        \"city\": \"浙江省 杭州市 西湖区\",\n" +
                "        \"name\": \"金色蓝庭89.00㎡户型3室1厅1卫1厨\",\n" +
                "        \"srcArea\": 89.0,\n" +
                "        \"specName\": \"3室1厅1卫1厨\",\n" +
                "        \"area\": 91.4,\n" +
                "        \"created\": 1432277686000,\n" +
                "        \"modifiedTime\": 1432277686000,\n" +
                "        \"planPic\": \"http://qhyxpic.oss.kujiale.com/fpimg/2014/07/20/U8vLw0NvY1konQBBAAAA_800x800.jpg\",\n" +
                "        \"coverPic\": \"http://qhyxpic.oss.kujiale.com/fpimg/2014/07/20/U8vLw0NvY1konQBBAAAA_800x800.jpg\",\n" +
                "        \"desc\": \"方案描述\",\n" +
                "        \"tagId\": \"3FO4K4VEEDF5\"\n" +
                "      },\n" +
                "      {\n" +
                "        \"planId\": \"3FO4K4VH740D\",\n" +
                "        \"designId\": \"3FO4K4VXY2IW\",\n" +  // status=1时存在\n" +
                "        \"status\": 1,\n" +   // 1=装修阶段\n" +
                "        \"commName\": \"金色阳光\",\n" +
                "        \"city\": \"浙江省 杭州市 淳安县\",\n" +
                "        \"name\": \"金色阳光90.00㎡'匠心小筑'户型1室1厅1卫\",\n" +
                "        \"srcArea\": 90.0,\n" +
                "        \"specName\": \"1室1厅1卫0厨\",\n" +
                "        \"area\": 50.41,\n" +
                "        \"created\": 1432277686000,\n" +
                "        \"modifiedTime\": 1432277686000,\n" +
                "        \"planPic\": \"http://qhyxpic.oss.kujiale.com/fpimg/2014/07/15/U8SkgkNvY1l8RABBAAAA_800x800.jpg\",\n" +
                "        \"coverPic\": \"http://qhyxpic.oss.kujiale.com/fpimg/2014/07/20/U8vLw0NvY1konQBBAAAA_800x800.jpg\",\n" +
                "        \"designPanoUrl\": \"https://yun.kujiale.com/design/3FO4IPBSIDT6/show\"\n" +
                "      }\n" +
                "    ]\n" +
                "  }\n" +
                "}";

        /**
         * 5. 获取用户方案列表 - 失败响应示例
         */
        public static final String USER_DESIGN_LIST_ERROR = "{\n" +
                "  \"code\": 500,\n" +
                "  \"msg\": \"查询用户方案列表失败：appuid不存在（code=2001）\",\n" +
                "  \"data\": null\n" +
                "}";

        /**
         * 6. 获取渲染图集（全量分组）- 成功响应示例
         * 说明：与 RenderingResponse + RenderingImageV1 实体类完全匹配，字段无缺失、逻辑无矛盾
         */
        public static final String RENDERPIC_ALL_LIST_SUCCESS = "{\n" +
                "  \"code\": 200,\n" +
                "  \"msg\": \"查询渲染图集成功\",\n" +
                "  \"data\": [\n" +
                "    {\n" +
                "      \"key\": \"bedroom\",\n" +          // 分组key：主卧（与roomTypeName一致）\n" +
                "      \"renderingImages\": [\n" +
                "        {\n" +
                "          \"picId\": \"3FOL5WHS5MD1\",\n" + // 渲染图唯一ID（示例值来自真实返回）\n" +
                "          \"picType\": 1,\n" +             // 1=全景图（会包含panoLink）\n" +
                "          \"picDetailType\": 750,\n" +       // 类型细分（示例值来自真实返回）\n" +
                "          \"roomTypeName\": \"主卧\",\n" +    // 房间名称（与key逻辑一致）\n" +
                "          \"img\": \"https://qhrenderpicoss.kujiale.com/r/2025/09/26/L3D750S41ENDOXEUX6AUWIIZULUFX7YUTGA8.0_24000x4000.jpg\",\n" + // 原图URL\n" +
                "          \"smallImg\": \"https://qhrenderpicoss.kujiale.com/r/2025/09/26/L3D750S41ENDOXEUX6AUWIIZULUFX7YUTGA8.0_24000x4000.jpg@!240x180\",\n" + // 缩略图URL\n" +
                "          \"panoLink\": \"https://www.kujiale.com/xiaoguotu/pano/3FOL5WHS5MD1\",\n" + // 全景图链接（仅picType=1存在）\n" +
                "          \"formatCread\": \"1小时前\"\n" +   // String类型，相对时间（与实体类一致）\n" +
                "        }\n" +
                "      ]\n" +
                "    },\n" +
                "    {\n" +
                "      \"key\": \"walkInCloset\",\n" +      // 分组key：步入式衣柜\n" +
                "      \"renderingImages\": [\n" +
                "        {\n" +
                "          \"picId\": \"3FOL5WISKQKW\",\n" +
                "          \"picType\": 1,\n" +             // 1=全景图\n" +
                "          \"picDetailType\": 745,\n" +
                "          \"roomTypeName\": \"步入式衣柜\",\n" +
                "          \"img\": \"https://qhrenderpicoss.kujiale.com/r/2025/09/26/L3D745S41ENDOXEUXYAUWLYNKLUFX7YURWA8.0_3000x500.jpg\",\n" +
                "          \"smallImg\": \"https://qhrenderpicoss.kujiale.com/r/2025/09/26/L3D745S41ENDOXEUXYAUWLYNKLUFX7YURWA8.0_3000x500.jpg@!240x180\",\n" +
                "          \"panoLink\": \"https://www.kujiale.com/xiaoguotu/pano/3FOL5WISKQKW\",\n" +
                "          \"formatCread\": \"1小时前\"\n" +
                "        }\n" +
                "      ]\n" +
                "    },\n" +
                "    {\n" +
                "      \"key\": \"livingDiningRoom\",\n" +  // 分组key：客餐厅\n" +
                "      \"renderingImages\": [\n" +
                "        {\n" +
                "          \"picId\": \"3FOL5WJ5R12E\",\n" +
                "          \"picType\": 0,\n" +             // 0=普通图（无panoLink）\n" +
                "          \"picDetailType\": 720,\n" +
                "          \"roomTypeName\": \"客餐厅\",\n" +
                "          \"img\": \"https://qhrenderpicoss.kujiale.com/r/2025/09/26/L3D720S41ENDOXEUXNYUWLUSKLUFX7ZKNVQ8.jpg\",\n" +
                "          \"smallImg\": \"https://qhrenderpicoss.kujiale.com/r/2025/09/26/L3D720S41ENDOXEUXNYUWLUSKLUFX7ZKNVQ8.jpg@!240x180\",\n" +
                "          \"panoLink\": \"\",\n" +          // 普通图：panoLink为空串（或null）\n" +
                "          \"formatCread\": \"2小时前\"\n" +
                "        }\n" +
                "      ]\n" +
                "    }\n" +
                "  ]\n" +
                "}";

        /**
         * 6. 获取渲染图集（全量分组）- 失败响应示例
         */
        public static final String RENDERPIC_ALL_LIST_ERROR = "{\n" +
                "  \"code\": 500,\n" +
                "  \"msg\": \"查询渲染图集失败：designBaseId=3FO3461K81DC不存在或方案无渲染图\",\n" +
                "  \"data\": null\n" +
                "}";


        /**
         * 7. 分页查询方案图册信息 - 成功响应示例
         */
        public static final String ALBUM_DATA_SUCCESS = "{\n" +
                "  \"code\": 200,\n" +
                "  \"msg\": \"分页查询方案图册信息成功\",\n" +
                "  \"data\": {\n" +
                "    \"c\": \"0\",\n" +
                "    \"m\": \"\",\n" +
                "    \"d\": {\n" +
                "      \"finished\": \"\",\n" +
                "      \"albumDataOpenApiList\": [\n" +
                "        {\n" +
                "          \"imgUrl\": \"https://qhrenderpicoss.kujiale.com/r/2025/09/26/L3D750S41ENDOXEUX6AUWIIZULUFX7YUTGA8.0_24000x4000.jpg\",\n" +
                "          \"smallImgUrl\": \"https://qhrenderpicoss.kujiale.com/r/2025/09/26/L3D750S41ENDOXEUX6AUWIIZULUFX7YUTGA8.0_24000x4000.jpg@!240x180\",\n" +
                "          \"snapshotId\": \"TASK20250926001\",\n" +
                "          \"snapshotType\": \"24000x4000\",\n" +
                "          \"created\": 1727328000000,\n" +
                "          \"taskId\": \"TASK20250926001\",\n" +
                "          \"renderPresentType\": 2,\n" +
                "          \"picId\": \"3FOL5WHS5MD1\",\n" +
                "          \"status\": 1\n" +
                "        },\n" +
                "        {\n" +
                "          \"imgUrl\": \"https://qhrenderpicoss.kujiale.com/r/2025/09/26/L3D720S41ENDOXEUXLQUWKNKULUFX7YUQII8.jpg\",\n" +
                "          \"smallImgUrl\": \"https://qhrenderpicoss.kujiale.com/r/2025/09/26/L3D720S41ENDOXEUXLQUWKNKULUFX7YUQII8.jpg@!240x180\",\n" +
                "          \"snapshotId\": \"TASK20250926002\",\n" +
                "          \"snapshotType\": \"1920x1080\",\n" +
                "          \"created\": 1727328600000,\n" +
                "          \"taskId\": \"TASK20250926002\",\n" +
                "          \"renderPresentType\": 2,\n" +
                "          \"picId\": \"3FOL5WIX4W5I\",\n" +
                "          \"status\": 0\n" +
                "        }\n" +
                "      ],\n" +
                "      \"lastItemId\": \"3FOL5WIX4W5I\"\n" +
                "    }\n" +
                "  }\n" +
                "}";

        /**
         * 7. 分页查询方案图册信息 - 失败响应示例
         */
        public static final String ALBUM_DATA_ERROR = "{\n" +
                "  \"code\": 500,\n" +
                "  \"msg\": \"查询图册信息失败：方案ID=3FO3461K81DC不存在（三方错误码：1002）\",\n" +
                "  \"data\": null\n" +
                "}";


        /**
         * 8. 获取方案存档列表 - 成功响应示例
         */
        public static final String ARCHIVE_LIST_SUCCESS = "{\n" +
                "  \"code\": 200,\n" +
                "  \"msg\": \"查询方案存档列表成功\",\n" +
                "  \"data\": {\n" +
                "    \"c\": \"0\",\n" +
                "    \"m\": \"\",\n" +
                "    \"d\": {\n" +
                "      \"result\": [\n" +
                "        {\n" +
                "          \"resources\": [\n" +
                "            {\n" +
                "              \"resourceId\": \"3FO4K4VY536P\",\n" +
                "              \"resourceName\": \"客厅墙体定位图.dxf\",\n" +
                "              \"type\": 1,\n" +
                "              \"resourceUrl\": \"//qhconstross.kujiale.com/archive/2021/01/06/L72LLPGACVYAAAAAAI8\"\n" +
                "            },\n" +
                "            {\n" +
                "              \"resourceId\": \"3FO4K4VY536Q\",\n" +
                "              \"resourceName\": \"客餐厅施工图.pdf\",\n" +
                "              \"type\": 3,\n" +
                "              \"resourceUrl\": \"//qhconstross.kujiale.com/archive/2021/01/06/L72LLPGACVYAAAAAAI9\"\n" +
                "            }\n" +
                "          ],\n" +
                "          \"designId\": \"3FO3461K81DC\",\n" +
                "          \"level\": 1,\n" +
                "          \"created\": 1609873072000,\n" +
                "          \"archiveId\": \"3FO4K4VY4S5M\",\n" +
                "          \"archiveName\": \"202409施工图存档\",\n" +
                "          \"pageCount\": 12\n" +
                "        },\n" +
                "        {\n" +
                "          \"resources\": [\n" +
                "            {\n" +
                "              \"resourceId\": \"3FO4K4VY536R\",\n" +
                "              \"resourceName\": \"主卧水电图.jpg\",\n" +
                "              \"type\": 2,\n" +
                "              \"resourceUrl\": \"//qhconstross.kujiale.com/archive/2021/01/05/L72LLPGACVYAAAAAAI7\"\n" +
                "            }\n" +
                "          ],\n" +
                "          \"designId\": \"3FO3461K81DC\",\n" +
                "          \"level\": 1,\n" +
                "          \"created\": 1609786672000,\n" +
                "          \"archiveId\": \"3FO4K4VY4S5N\",\n" +
                "          \"archiveName\": \"202408施工图存档\",\n" +
                "          \"pageCount\": 8\n" +
                "        }\n" +
                "      ]\n" +
                "    }\n" +
                "  }\n" +
                "}";

        /**
         * 8. 获取方案存档列表 - 失败响应示例
         */
        public static final String ARCHIVE_LIST_ERROR = "{\n" +
                "  \"code\": 500,\n" +
                "  \"msg\": \"获取存档列表失败：方案ID=3FO3461K81DC无存档记录（三方错误码：2003）\",\n" +
                "  \"data\": null\n" +
                "}";
        /**
         * 9. 获取平面布置图片列表 - 成功响应示例
         * 说明：包含已生成图片的楼层（levelIndex=1）和未生成图片的楼层（levelIndex=2，URL为null）
         */
        public static final String LAYOUT_LEGEND_SUCCESS = "{\n" +
                "  \"code\": 200,\n" +
                "  \"msg\": \"查询平面布置图片列表成功\",\n" +
                "  \"data\": {\n" +
                "    \"c\": \"0\",\n" +
                "    \"m\": \"\",\n" +
                "    \"d\": [\n" +
                "      {\n" +
                "        \"levelIndex\": 1,\n" +
                "        \"layoutLegendImage\": \"https://qhtbdoss.kujiale.com/fpimgnew/prod/layoutlegend/3FO3V5TULFN3/MTKIEDQKTLPEOAABAAAAACY8/layoutLegend/ZNWoXgqa3lQAAQAAAAE.png\"\n" +
                "      },\n" +
                "      {\n" +
                "        \"levelIndex\": 2,\n" +
                "        \"layoutLegendImage\": null\n" +
                "      },\n" +
                "      {\n" +
                "        \"levelIndex\": -1,\n" +
                "        \"layoutLegendImage\": \"https://qhtbdoss.kujiale.com/fpimgnew/prod/layoutlegend/3FO3V5TULFN3/MTKIEDQKTLPEOAABAAAAACY8/layoutLegend/ZNWoXgqa3lQAAQAAAAF.png\"\n" +
                "      }\n" +
                "    ]\n" +
                "  }\n" +
                "}";


    }


}
